﻿define('util/stringformat', [], function() {
	
    var f = {
    	subString: function(name, length) {
			if(name&&name.length>length){
				return name.substring(0,length) + '…';
			}
			return name;
    	} 
    };
    
    window.subString = f.subString;
    
    return f;
});
